﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Centrica.TaskManager.Task;

namespace Centrica.TaskManager.Tests.Task
{
    public class TaskViewModelMock : TaskViewModel
    {
        public event EventHandler SaveTaskFired;

        protected override void OnSaveTask(Centrica.TaskManager.Data.Task task)
        {
            if (SaveTaskFired != null)
            {

                SaveTaskFired(null, null);

            }

        }
    
    
    }
}
